Computer science lesson plan
Class:3rd - Lesson:15 Basic Repeat Condition and Tools 1.

Purpose: Students will start by guiding the knight to move when an arrow key is pressed. Students will use different events to make a character move around the screen, make noises, and change backgrounds based on the user-initiated events. (by code.org - Course A) Students should learn to perform these actions alternatively by using the tools other than using the ‘Repeat’ loop.

No. of Classes

Two or three classes (Teacher's decision).

Material Required

Code.org (curse A & B)

Curriculum Content
  • (5.3) Loop
  • (4.1) Direction
  • Prior knowledge

    Students should know about all directions - North, South, East, West, North-East, North-West, South-East and South-West. Students should also know how to use the ‘Repeat’ and arrow buttons.

    Exercise

    Exercise:1



    Solutions



  • Link to view the solution image.(Exercise 1)
  • Link to view the solution image.(Exercise 2)
  • Link to view the solution image.(Exercise 3)

  • Teacher Instruction
    1. Help the students, using the blocks from Unplugged Blockly Blocks
    2. Click here using the Unplugged blockly blocks.
    3. Review the definition of a loop.
    4. Discuss different patterns like zig-zags and stair-steps
    5. Teachers should explain to the students how to draw the different patterns
    6. Teachers should explain to the students how to draw the pattern using a loop.
    7. Help students to use different directions to reach the destination.
    8. Sign in to the for code.org previously